package com.openwater.tools.math;

public class Size {

    public float width;
    public float height;

    public Size() {
        set(0, 0);
    }

    public Size(float width, float height) {
        set(width, height);
    }

    public Size(Size size) {
        set(size.width, size.height);
    }

    public Size set(float width, float height) {
        this.width = width;
        this.height = height;
        return this;
    }

    @Override
    public String toString() {
        return "Size [" + width + "," + height + "]";
    }
}
